Update tests
authorJustin Burkett <justin@burkett.cc>
Mon, 21 Jun 2021 17:59:56 +0000 (13:59 -0400)
committerJustin Burkett <justin@burkett.cc>
Mon, 21 Jun 2021 17:59:56 +0000 (13:59 -0400)
which-key-tests.el

index 1611d51cc04c1d90f2765cd002bfd1dcf076fc30..17d5d0d4944736bd6343af909a3b818df97238be 100644 (file)
     (should (equal
              (sort (which-key--get-keymap-bindings map)
                    (lambda (a b) (string-lessp (car a) (car b))))
-             '(("b" . "ignore")
-               ("c" . "c")
-               ("d" . "Prefix Command")
-               ("e" . "Prefix Command")
+             '(("c" . "c")
+               ("d" . "prefix")
+               ("e" . "prefix")
                ("f" . "{ - C-f"))))
     (should (equal
-             (sort (which-key--get-keymap-bindings map t)
+             (sort (which-key--get-keymap-bindings map nil nil nil t)
                    (lambda (a b) (string-lessp (car a) (car b))))
-             '(("b" . "ignore")
-               ("c" . "c")
+             '(("c" . "c")
                ("d d" . "dd")
                ("e e e" . "eee")
                ("f" . "{ - C-f"))))))